﻿<Window x:Class="bai1de2.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Giải phương trình bậc 2" Height="300" Width="300">
    <Grid>
        
        <TextBlock Height="30" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="12,45,0,0"  Text="hệ số a: " VerticalAlignment="Top" Width="55" />
        <TextBlock Height="30" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="12,75,0,0"  Text="hệ số b: " VerticalAlignment="Top" Width="55" />
        <TextBlock Height="30" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="12,105,0,0"  Text="hệ số c: " VerticalAlignment="Top" Width="55" />
        <TextBlock Height="30" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="12,135,0,0"  Text="kết quả: " VerticalAlignment="Top" Width="55" />
        <TextBox Height="22" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="77,45,0,0" Name="tb_a" VerticalAlignment="Top" Width="105" />
        <TextBox Height="22" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="77,75,0,0" Name="tb_b" VerticalAlignment="Top" Width="105" />
        <TextBox Height="22" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="77,105,0,0" Name="tb_c" VerticalAlignment="Top" Width="105" />
        <TextBox Height="78" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="77,135,0,0" Name="tb_kq" VerticalAlignment="Top" Width="160" />
        <Button Content="Tính" Click="mnTinh_Click" Height="22" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="25,223,0,0" Name="mnTinh" VerticalAlignment="Top" Width="68"  />
        <Button Content="Xóa" Click="mnXoa_Click" Height="22" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Left" Margin="108,223,0,0" Name="mnXoa" VerticalAlignment="Top" Width="68"  />
        <Button Content="Thoát" Click="mnThoat_Click" Height="22" FontSize="15" FontFamily="Times New Roman" HorizontalAlignment="Right" Margin="1,223,20,0" Name="mnThoat" VerticalAlignment="Top" Width="68"  />
        
    </Grid>
</Window>
